package com.habdqn.studentmanager.bean;

import java.time.LocalTime;
import java.util.Date;

/**
 * @author Fan
 * 
 * 2017年7月5日
 * 
 */
public class AttendanceSetting extends Bean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 固定为1
	 */
	private Integer id;
	
	/**
	 * 上班时间
	 */
	private LocalTime onWork;
	
	/**
	 * 下班时间
	 */
	private LocalTime offWork;
	
	/**
	 * 允许迟到时间(分钟)
	 */
	private Integer allowLate;
	
	/**
	 * 允许早退时间(分钟)
	 */
	private Integer allowLeave;
	
	/**
	 * 星期六上班 
	 * 1 上
	 * 其他 不上
	 */
	private Boolean sat;
	
	/**
	 * 星期天上班 同上
	 */
	private Boolean sun;
	
	/**
	 * 修改时间
	 */
	private Date updateDate;

	/**
	 * @return the onWork
	 */
	public LocalTime getOnWork() {
		return onWork;
	}

	/**
	 * @return the offWork
	 */
	public LocalTime getOffWork() {
		return offWork;
	}

	/**
	 * @return the allowLate
	 */
	public Integer getAllowLate() {
		return allowLate;
	}

	/**
	 * @return the allowLeave
	 */
	public Integer getAllowLeave() {
		return allowLeave;
	}

	/**
	 * @return the sat
	 */
	public Boolean getSat() {
		return sat;
	}

	/**
	 * @return the sun
	 */
	public Boolean getSun() {
		return sun;
	}

	/**
	 * @return the updateDate
	 */
	public Date getUpdateDate() {
		return updateDate;
	}

	/**
	 * @param onWork the onWork to set
	 */
	public void setOnWork(LocalTime onWork) {
		this.onWork = onWork;
	}
	
	/**
	 * @param offWork the offWork to set
	 */
	public void setOffWork(LocalTime offWork) {
		this.offWork = offWork;
	}

	/**
	 * @param allowLate the allowLate to set
	 */
	public void setAllowLate(Integer allowLate) {
		this.allowLate = allowLate;
	}

	/**
	 * @param allowLeave the allowLeave to set
	 */
	public void setAllowLeave(Integer allowLeave) {
		this.allowLeave = allowLeave;
	}

	/**
	 * @param sat the sat to set
	 */
	public void setSat(Boolean sat) {
		this.sat = sat;
	}

	/**
	 * @param sun the sun to set
	 */
	public void setSun(Boolean sun) {
		this.sun = sun;
	}

	/**
	 * @param updateDate the updateDate to set
	 */
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
}
